/*
 * @Author: ws
 * @Date: 2024-06-02 09:24:15
 * @email: 458658538@qq.com
 * @LastEditors: ws
 * @LastEditTime: 2024-08-30 14:05:56
 * @Description:
 */
import { DEFAULT_LAYOUT } from '../base';
import { RouteRecordRaw } from 'vue-router';

//空域
const ui: RouteRecordRaw = {
  path: 'ui',
  name: 'ui',
  component: DEFAULT_LAYOUT,
  meta: {
    title: 'ui',
    requiresAuth: true,
    icon: 'icon-kongyu-xianxing',
    activeIcon: 'icon-kongyu-mianxing',
  },
  children: [
    {
      path: 'widget-container',
      name: 'widget-container',
      component: () => import('@/views/ui/widget-container.vue'),
      meta: {
        title: 'widget-container',
        requiresAuth: true,
      },
    },
  ],
  redirect: {
    name: 'widget-container',
  },
};

export default ui;
